"use strict";

/** 应用在运行状态下的全局配置 */

(function(global) {
	let userId = window.localStorage.getItem('currentUser') ? JSON.parse(window.localStorage.getItem('currentUser')).userId : '0000022';
	let userName = window.localStorage.getItem('currentUser') ? JSON.parse(window.localStorage.getItem('currentUser')).userName : '代理人';
  global.LOCAL_CONFIG = {
		API_HOME: "http://10.30.44.169:31000/ibaogu",
    // API_HOME: "/ibaogu",
		BUCKET: "/baotai/", //MINIO  存储桶
		clientWs: 'ws://10.30.44.169:7099/ibaogu/ClientWs/',
		adviserWs: 'ws://10.30.44.169:7099/ibaogu/Adviser/' + userId,
		LLMWs: 'ws://10.30.44.169:7099/ibaogu/LLMWs/' + userId,
		query_tenant_id: 'BIZ',
		// agent_code: '0000022',
		// agent_name: '代理人',
		agent_code: userId, // 登录用户
		agent_name: userName, // 登录用户,
		IS_SEE: false, // 是否集成操作员中心权限, 默认集成
		systemUuid: 'chatAia', // 标记所属的子系统
  };
})(window);
